package com.jiangyao.model.dto.backend;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author zhousx
 * @create 2020/9/8
 */

@ApiModel("修改简历投递状态DTO")
@Data
public class EditStatusDTO {

    @ApiModelProperty(value = "状态 1已邀约待接受 0已邀约未接受 2已邀约已接受 4已面试面试通过 5已面试等待结果 6已面试未通过",required = true)
    @NotNull(message = "修改状态不能不空")
    @NotEmpty(message = "修改状态不能不空")
    private String status;

    @ApiModelProperty(value = "投递成功的简历sendID",required = true)
    @NotNull(message = "职位ID 1为在线的职位，0 为关闭的职位")
    private Integer sendId;
}
